package com.wy._05Random.randomFile.Enum;

public enum ImageTypeEnum {
     TYPE_INT_RGB("",1),
     TYPE_INT_ARGB("",2),
     TYPE_INT_ARGB_PRE("",3),
     TYPE_INT_BGR("",4),
     TYPE_3BYTE_BGR("",5),
     TYPE_4BYTE_ABGR("",6),
     TYPE_4BYTE_ABGR_PRE("",7),
     TYPE_BYTE_GRAY("",8),
     TYPE_USHORT_GRAY("",9),
     TYPE_BYTE_BINARY("",10),
     TYPE_BYTE_INDEXED("",11),
     TYPE_USHORT_565_RGB("",12),
     TYPE_USHORT_555_RGB("",13);
     private final String name;
     private final int digitalIdentification;
     //对于这个图片类型的描述
     private String desc;

    ImageTypeEnum(String name, int digitalIdentification, String desc) {
        this.name = name;
        this.digitalIdentification = digitalIdentification;
        this.desc = desc;
    }

    ImageTypeEnum(String name, int digitalIdentification) {
        this.name = name;
        this.digitalIdentification = digitalIdentification;
    }

    public String getName() {
        return name;
    }

    public int getDigitalIdentification() {
        return digitalIdentification;
    }

    public String getDesc() {
        return desc;
    }
}
